﻿<%@ Page Language="C#" MasterPageFile="~/ComMasterPage.master" ValidateRequest="false" AutoEventWireup="true" CodeFile="ComAddWant.aspx.cs" Inherits="ComAddWant" Title="长春校园人才网-招聘管理" %>

<%@ Register Assembly="DotNetTextBox" Namespace="DotNetTextBox" TagPrefix="DNTB" %>
 
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:Wizard ID="Wizard1" runat="server" ActiveStepIndex="0" BackColor="#EFF3FB"
        BorderColor="#B5C7DE" BorderWidth="1px" CancelButtonText=""
        FinishCompleteButtonText="" FinishPreviousButtonText="刷新" Font-Names="Verdana"
        Font-Size="0.8em" Height="191px" StartNextButtonText="添加" StepNextButtonText=""
        StepPreviousButtonText="返回" Width="976px" ForeColor="#FF8000">
        <SideBarTemplate>
            <asp:DataList ID="SideBarList" runat="server">
                <ItemTemplate>
                    <asp:LinkButton ID="SideBarButton" runat="server" BackColor="#1ba5e3"
                        Font-Names="Verdana" ForeColor="White"></asp:LinkButton>
                </ItemTemplate>
                <SelectedItemStyle Font-Bold="True" />
            </asp:DataList>
        </SideBarTemplate>
        <StepStyle Font-Size="0.8em" ForeColor="#333333" />
        <WizardSteps>
            <asp:WizardStep runat="server" StepType="Start" Title="编辑招聘">
                <asp:FormView ID="FormView1" runat="server" AllowPaging="True"
                    DataKeyNames="cwid" DataSourceID="SqlDataSource1" Font-Size="10pt"
                    Height="232px" HorizontalAlign="Center" Width="570px" BackColor="WhiteSmoke" BorderStyle="None" OnItemDeleting="FormView1_ItemDeleting">
                    <EditItemTemplate>
                        <table style="width: 100%;margin-top: 20px;">
                            <tr>
                                <td align="right" style="width: 115px">职位名称:</td>
                                <td>
                                    <asp:TextBox ID="cwnameTextBox" runat="server" Text='<%# Bind("cwname") %>' />
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
                                        ControlToValidate="cwnameTextBox" ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 115px">最低学历:</td>
                                <td>
                                    <asp:TextBox ID="cwknowledgeTextBox" runat="server"
                                        Text='<%# Bind("cwknowledge") %>' />
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
                                        ControlToValidate="cwknowledgeTextBox" ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 115px">待 遇:</td>
                                <td>
                                    <asp:TextBox ID="cwaskTextBox" runat="server" Text='<%# Bind("cwdeal") %>' />
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server"
                                        ControlToValidate="cwaskTextBox" ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 115px">招聘人数:</td>
                                <td>
                                    <asp:TextBox ID="cwpersonnumTextBox" runat="server"
                                        Text='<%# Bind("cwpersonnum") %>' />
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server"
                                        ControlToValidate="cwpersonnumTextBox" ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 115px">工作地:</td>
                                <td>
                                    <asp:TextBox ID="cwjobaddTextBox" runat="server"
                                        Text='<%# Bind("cwjobadd") %>' />
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server"
                                        ControlToValidate="cwjobaddTextBox" ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 115px">招聘类别:</td>
                                <td>
                                    <asp:DropDownList ID="DropDownList1" runat="server"
                                        DataSourceID="SqlDataSource7" DataTextField="jcname" DataValueField="jcid"
                                        SelectedValue='<%# Bind("jcid") %>'>
                                    </asp:DropDownList>
                                    <asp:SqlDataSource ID="SqlDataSource7" runat="server"
                                        ConnectionString="<%$ ConnectionStrings:DB_CCXYRCConnectionString %>"
                                        SelectCommand="SELECT * FROM [tb_jobclass]"></asp:SqlDataSource>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 115px; height: 16px">行 业:</td>
                                <td style="height: 16px">
                                    <asp:DropDownList ID="DropDownList2" runat="server"
                                        DataSourceID="SqlDataSource2" DataTextField="trname" DataValueField="trid"
                                        SelectedValue='<%# Bind("trid") %>'>
                                    </asp:DropDownList>
                                    <asp:SqlDataSource ID="SqlDataSource2" runat="server"
                                        ConnectionString="<%$ ConnectionStrings:DB_CCXYRCConnectionString %>"
                                        SelectCommand="SELECT * FROM [tb_trade]"></asp:SqlDataSource>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="text-decoration: underline; height: 42px;" colspan="2">
                                    <b></b>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server"
                                        ControlToValidate="WebEditor1" ErrorMessage="*"></asp:RequiredFieldValidator></td>
                            </tr>
                            <tr>
                                <td align="right" colspan="2" style="text-align: left">
                                    <strong style="vertical-align: top">要 求</strong><DNTB:WebEditor ID="WebEditor1" runat="server" AdjustSize="50"
                                        BackColor="White" BorderColor="#DDDDDD" BorderWidth="0px"
                                        CodeBackColor="#E8F4FF" CodeBorder="1px" CodeBorderColor="#6595D6"
                                        CodeBorderStyle="Dotted" CodeTitle="以下是代码片段：" EditBorderColor="#CDCDD3"
                                        EditHeight="140px" Height="180px" LeftAreaAlign="center" LeftAreaWidth="36%"
                                        MenuConfig="guest1.config" QuoteBackColor="#E8F4FF" QuoteBorder="1px"
                                        QuoteBorderColor="#6595D6" QuoteBorderStyle="Dotted" QuoteTitle="以下是引用片段："
                                        RightAreaAlign="center" RightAreaWidth="64%" Shadow="False" Source="False"
                                        StatusHeight="20px" systemFolder="system_dntb/" Text='<%# Bind("cwask") %>'
                                        ToolBarColor="#EFEFEF" ToolBarHeight="20px" Width="505px" />
                                </td>
                            </tr>
                        </table>
                        <br />
                        <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True"
                            CommandName="Update" Text="更新" />
                        <asp:LinkButton ID="UpdateCancelButton" runat="server"
                            CausesValidation="False" CommandName="Cancel" Text="取消" />
                    </EditItemTemplate>
                    <InsertItemTemplate>
                        <table style="width: 100%;">
                            <tr>
                                <td align="right">职位名称:</td>
                                <td>
                                    <asp:TextBox ID="cwnameTextBox2" runat="server" Text='<%# Bind("cwname") %>' />
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator18" runat="server"
                                        ControlToValidate="cwnameTextBox" ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">最低学历:</td>
                                <td>
                                    <asp:DropDownList ID="ddlpk" runat="server"
                                        SelectedValue='<%# Bind("cwknowledge") %>'>
                                        <asp:ListItem>大专</asp:ListItem>
                                        <asp:ListItem>本科</asp:ListItem>
                                        <asp:ListItem>研究生</asp:ListItem>
                                        <asp:ListItem>硕士</asp:ListItem>
                                        <asp:ListItem>博士</asp:ListItem>
                                        <asp:ListItem>无</asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">待遇:</td>
                                <td>
                                    <asp:TextBox ID="cwaskTextBox2" runat="server" Text='<%# Bind("cwdeal") %>' />
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator19" runat="server"
                                        ControlToValidate="cwaskTextBox" ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">招聘人数:</td>
                                <td>
                                    <asp:TextBox ID="cwpersonnumTextBox2" runat="server"
                                        Text='<%# Bind("cwpersonnum") %>' />
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator20" runat="server"
                                        ControlToValidate="cwpersonnumTextBox" ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">工作地:</td>
                                <td>
                                    <asp:TextBox ID="cwjobaddTextBox2" runat="server"
                                        Text='<%# Bind("cwjobadd") %>' />
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator21" runat="server"
                                        ControlToValidate="cwjobaddTextBox" ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">招聘类别:</td>
                                <td>
                                    <asp:DropDownList ID="DropDownList7" runat="server"
                                        DataSourceID="SqlDataSource7" DataTextField="jcname" DataValueField="jcid"
                                        SelectedValue='<%# Bind("jcid") %>'>
                                    </asp:DropDownList>
                                    <asp:SqlDataSource ID="SqlDataSource8" runat="server"
                                        ConnectionString="<%$ ConnectionStrings:DB_CCXYRCConnectionString %>"
                                        SelectCommand="SELECT * FROM [tb_jobclass]"></asp:SqlDataSource>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">行业:</td>
                                <td>
                                    <asp:DropDownList ID="DropDownList8" runat="server"
                                        DataSourceID="SqlDataSource9" DataTextField="trname" DataValueField="trid"
                                        SelectedValue='<%# Bind("trid") %>'>
                                    </asp:DropDownList>
                                    <asp:SqlDataSource ID="SqlDataSource9" runat="server"
                                        ConnectionString="<%$ ConnectionStrings:DB_CCXYRCConnectionString %>"
                                        SelectCommand="SELECT * FROM [tb_trade]"></asp:SqlDataSource>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="text-decoration: underline">
                                    <b>要求</b></td>
                                <td>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator22" runat="server"
                                        ControlToValidate="WebEditor1" ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" colspan="2">
                                    <DNTB:WebEditor ID="WebEditor4" runat="server" AdjustSize="50"
                                        BackColor="White" BorderColor="#DDDDDD" BorderWidth="0px"
                                        CodeBackColor="#E8F4FF" CodeBorder="1px" CodeBorderColor="#6595D6"
                                        CodeBorderStyle="Dotted" CodeTitle="以下是代码片段：" EditBorderColor="#CDCDD3"
                                        EditHeight="140px" Height="180px" LeftAreaAlign="center" LeftAreaWidth="36%"
                                        MenuConfig="guest1.config" QuoteBackColor="#E8F4FF" QuoteBorder="1px"
                                        QuoteBorderColor="#6595D6" QuoteBorderStyle="Dotted" QuoteTitle="以下是引用片段："
                                        RightAreaAlign="center" RightAreaWidth="64%" Shadow="False" Source="False"
                                        StatusHeight="20px" systemFolder="system_dntb/" Text='<%# Bind("cwask") %>'
                                        ToolBarColor="#EFEFEF" ToolBarHeight="20px" Width="555px" />
                                </td>
                            </tr>
                        </table>
                        <br />
                        <asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True"
                            CommandName="Insert" Text="插入" />
                        <asp:LinkButton ID="InsertCancelButton" runat="server"
                            CausesValidation="False" CommandName="Cancel" Text="取消" />
                    </InsertItemTemplate>
                    <ItemTemplate>
                        <table style="width: 100%; border-right: white 1px solid; table-layout: fixed; border-top: white 1px solid; border-left: white 1px solid; line-height: 11pt; border-bottom: white 1px solid; border-collapse: collapse;">
                            <tr>
                                <td align="right" style="border-top-width: 1px; table-layout: fixed; width: 509px; border-top-color: green; border-collapse: collapse; height: 34px; text-align: right; border-right-width: 1px; border-right-color: green" colspan="2">
                                    <table style="width: 540px">
                                        <tr>
                                            <td colspan="3" style="height: 9px; text-align: center">
                                                <table style="width: 538px; border-bottom: silver 1px solid">
                                                    <tr>
                                                        <td style="width: 100px; height: 17px; text-align: left">
                                                            <span style="color: #1ba5e3; font-weight: 600;font-size:14px;">招聘信息展示</span></td>
                                                        <td style="width: 100px; height: 17px"></td>
                                                        <td style="width: 100px; height: 17px"></td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="3" style="vertical-align: top; height: 107px; text-align: left">
                                                <asp:Label ID="cwaskLabel" runat="server" Text='<%# Bind("cwask") %>' /></td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td align="left" colspan="2" style="table-layout: fixed; width: 509px; border-collapse: collapse; height: 66px; text-align: left;">
                                    <table style="border-top: silver 1px solid; width: 545px">
                                        <tr>
                                            <td style="text-align: right">职位名称:</td>
                                            <td style="width: 315px">
                                                <asp:Label ID="cwnameLabel" runat="server" Text='<%# Bind("cwname") %>' /></td>
                                        </tr>
                                        <tr>
                                            <td style="text-align: right">最低学历:</td>
                                            <td>
                                                <asp:Label ID="cwknowledgeLabel" runat="server"
                                                    Text='<%# Bind("cwknowledge") %>' /></td>
                                        </tr>
                                        <tr>
                                            <td style="text-align: right">待遇:</td>
                                            <td style="">
                                                <asp:Label ID="cwdealLabel" runat="server" Text='<%# Bind("cwdeal") %>' /></td>
                                        </tr>
                                        <tr>
                                            <td style="text-align: right">招聘人数:</td>
                                            <td style="">
                                                <asp:Label ID="cwpersonnumLabel" runat="server"
                                                    Text='<%# Bind("cwpersonnum") %>' /></td>
                                        </tr>
                                        <tr>
                                            <td style="text-align: right">工作地:</td>
                                            <td style="">
                                                <asp:Label ID="cwjobaddLabel" runat="server" Text='<%# Bind("cwjobadd") %>' /></td>
                                        </tr>
                                        <tr>
                                            <td style="text-align: right">招聘类别:</td>
                                            <td style="">
                                                <asp:Label ID="jcnameLabel" runat="server" Text='<%# Bind("jcname") %>' Width="202px" /></td>
                                        </tr>
                                        <tr>
                                            <td style="text-align: right">行业:</td>
                                            <td style="">
                                                <asp:Label ID="trnameLabel" runat="server" Text='<%# Bind("trname") %>' /></td>
                                        </tr>
                                        <tr>
                                            <td style="text-align: right">发布时间:</td>
                                            <td style="">
                                                <asp:Label ID="cwtimeLabel" runat="server"
                                                    Text='<%# Bind("cwtime", "{0:d}") %>' /></td>
                                        </tr>
                                    </table>
                                    &nbsp;</td>
                            </tr>
                        </table>
                        <asp:LinkButton ID="EditButton" runat="server" CausesValidation="False"
                            CommandName="Edit" Text="编辑" />
                        <asp:LinkButton ID="DeleteButton" runat="server" CausesValidation="False"
                            CommandName="Delete" Text="删除" OnClientClick='return window.confirm("确认删除！")' />
                    </ItemTemplate>
                </asp:FormView>
                &nbsp;
            </asp:WizardStep>
            <asp:WizardStep runat="server" StepType="Finish" Title="添加招聘">
                <asp:FormView ID="FormView2" runat="server" AllowPaging="True"
                    DataKeyNames="cwid" DataSourceID="SqlDataSource1" DefaultMode="Insert"
                    Font-Size="12pt" Height="232px" HorizontalAlign="Center" Width="380px"
                    OnItemInserted="FormView2_ItemInserted">
                    <EditItemTemplate>
                        <br />
                        <asp:LinkButton ID="UpdateButton0" runat="server" CausesValidation="True"
                            CommandName="Update" Text="更新" />
                        <asp:LinkButton ID="UpdateCancelButton0" runat="server"
                            CausesValidation="False" CommandName="Cancel" Text="取消" />
                    </EditItemTemplate>
                    <InsertItemTemplate>
                        <table style="width: 100%; margin-top: 20px; font-size: 13px;">
                            <tr>
                                <td align="right" style="width: 137px">职位名称:</td>
                                <td style="width: 366px">
                                    <asp:TextBox ID="cwnameTextBox" runat="server" Text='<%# Bind("cwname") %>' />
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server"
                                        ControlToValidate="cwnameTextBox" ErrorMessage="*" ValidationGroup="11"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 137px">最低学历:</td>
                                <td style="width: 366px">
                                    <asp:TextBox ID="cwknowledgeTextBox" runat="server"
                                        Text='<%# Bind("cwknowledge") %>' />
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server"
                                        ControlToValidate="cwknowledgeTextBox" ErrorMessage="*" ValidationGroup="11"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 137px">待遇:</td>
                                <td style="width: 366px">
                                    <asp:TextBox ID="cwaskTextBox" runat="server" Text='<%# Bind("cwdeal") %>' />
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server"
                                        ControlToValidate="cwaskTextBox" ErrorMessage="*" ValidationGroup="11"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 137px">招聘人数:</td>
                                <td style="width: 366px">
                                    <asp:TextBox ID="cwpersonnumTextBox" runat="server"
                                        Text='<%# Bind("cwpersonnum") %>' />
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server"
                                        ControlToValidate="cwpersonnumTextBox" ErrorMessage="*" ValidationGroup="11"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 137px">工作地:</td>
                                <td style="width: 366px">
                                    <asp:TextBox ID="cwjobaddTextBox" runat="server"
                                        Text='<%# Bind("cwjobadd") %>' />
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server"
                                        ControlToValidate="cwjobaddTextBox" ErrorMessage="*" ValidationGroup="11"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 137px">招聘类别:</td>
                                <td style="width: 366px">
                                    <asp:DropDownList ID="DropDownList3" runat="server"
                                        DataSourceID="SqlDataSource3" DataTextField="jcname" DataValueField="jcid"
                                        SelectedValue='<%# Bind("jcid") %>'>
                                    </asp:DropDownList>
                                    <asp:SqlDataSource ID="SqlDataSource3" runat="server"
                                        ConnectionString="<%$ ConnectionStrings:DB_CCXYRCConnectionString %>"
                                        SelectCommand="SELECT * FROM [tb_jobclass]"></asp:SqlDataSource>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 137px">行业:</td>
                                <td style="width: 366px">
                                    <asp:DropDownList ID="DropDownList4" runat="server"
                                        DataSourceID="SqlDataSource4" DataTextField="trname" DataValueField="trid"
                                        SelectedValue='<%# Bind("trid") %>'>
                                    </asp:DropDownList>
                                    <asp:SqlDataSource ID="SqlDataSource4" runat="server"
                                        ConnectionString="<%$ ConnectionStrings:DB_CCXYRCConnectionString %>"
                                        SelectCommand="SELECT * FROM [tb_trade]"></asp:SqlDataSource>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="text-decoration: underline; height: 47px;" colspan="2">
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server"
                                        ControlToValidate="WebEditor1" ErrorMessage="*" ValidationGroup="11"></asp:RequiredFieldValidator></td>
                            </tr>
                            <tr>
                                <td align="right" colspan="2" style="vertical-align: top; text-align: left">
                                    <strong>要 求</strong><DNTB:WebEditor ID="WebEditor1" runat="server" AdjustSize="50"
                                        BackColor="White" BorderColor="#DDDDDD" BorderWidth="0px"
                                        CodeBackColor="#E8F4FF" CodeBorder="1px" CodeBorderColor="#6595D6"
                                        CodeBorderStyle="Dotted" CodeTitle="以下是代码片段：" EditBorderColor="#CDCDD3"
                                        EditHeight="140px" Height="194px" LeftAreaAlign="center" LeftAreaWidth="36%"
                                        MenuConfig="guest1.config" QuoteBackColor="#E8F4FF" QuoteBorder="1px"
                                        QuoteBorderColor="#6595D6" QuoteBorderStyle="Dotted" QuoteTitle="以下是引用片段："
                                        RightAreaAlign="center" RightAreaWidth="64%" Shadow="False" Source="False"
                                        StatusHeight="20px" systemFolder="system_dntb/" Text='<%# Bind("cwask") %>'
                                        ToolBarColor="#EFEFEF" ToolBarHeight="20px" Width="507px" />
                                </td>
                            </tr>
                        </table>
                        <br />
                        <asp:LinkButton ID="InsertButton0" runat="server" CausesValidation="True"
                            CommandName="Insert" Text="插入" ValidationGroup="11" />
                    </InsertItemTemplate>
                    <ItemTemplate>
                        <table style="width: 100%;">
                            <tr>
                                <td style="text-align: right;">职位名称:</td>
                                <td>
                                    <asp:Label ID="cwnameLabel0" runat="server" Text='<%# Bind("cwname") %>' />
                                </td>
                            </tr>
                            <tr>
                                <td style="text-align: right;">最低学历:</td>
                                <td>
                                    <asp:Label ID="cwknowledgeLabel0" runat="server"
                                        Text='<%# Bind("cwknowledge") %>' />
                                </td>
                            </tr>
                            <tr>
                                <td style="text-align: right;">待遇:</td>
                                <td>
                                    <asp:Label ID="cwdealLabel0" runat="server" Text='<%# Bind("cwdeal") %>' />
                                </td>
                            </tr>
                            <tr>
                                <td style="text-align: right;">招聘人数:</td>
                                <td>
                                    <asp:Label ID="cwpersonnumLabel0" runat="server"
                                        Text='<%# Bind("cwpersonnum") %>' />
                                </td>
                            </tr>
                            <tr>
                                <td style="text-align: right;">工作地:</td>
                                <td>
                                    <asp:Label ID="cwjobaddLabel0" runat="server" Text='<%# Bind("cwjobadd") %>' />
                                </td>
                            </tr>
                            <tr>
                                <td style="text-align: right;">招聘类别:</td>
                                <td>
                                    <asp:Label ID="jcnameLabel0" runat="server" Text='<%# Bind("jcname") %>' />
                                </td>
                            </tr>
                            <tr>
                                <td style="text-align: right;">行业:</td>
                                <td>
                                    <asp:Label ID="trnameLabel0" runat="server" Text='<%# Bind("trname") %>' />
                                </td>
                            </tr>
                            <tr>
                                <td style="text-align: right; text-decoration: underline">
                                    <b>要求</b></td>
                                <td></td>
                            </tr>
                            <tr>
                                <td colspan="2" style="text-align: right">
                                    <asp:Label ID="cwaskLabel0" runat="server" Text='<%# Bind("cwask") %>' />
                                </td>
                            </tr>
                            <tr>
                                <td style="text-align: right;">发布时间:</td>
                                <td>
                                    <asp:Label ID="cwtimeLabel0" runat="server"
                                        Text='<%# Bind("cwtime", "{0:d}") %>' />
                                </td>
                            </tr>
                        </table>
                        <div style="float:left;">
                            <asp:LinkButton ID="EditButton0" runat="server" CausesValidation="False"
                                CommandName="Edit" Text="编辑" />
                            <asp:LinkButton ID="DeleteButton0" runat="server" CausesValidation="False"
                                CommandName="Delete" Text="删除" />
                            <asp:LinkButton ID="NewButton0" runat="server" CausesValidation="False"
                                CommandName="New" Text="新建" />
                        </div>
                    </ItemTemplate>
                </asp:FormView>
            </asp:WizardStep>
        </WizardSteps>
        <SideBarButtonStyle ForeColor="White" BackColor="#1ba5e3" Font-Names="Verdana" />
        <NavigationButtonStyle BackColor="White" BorderColor="#1ba5e3"
            BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em"
            ForeColor="#284E98" />
        <SideBarStyle BackColor="#1ba5e3" Font-Size="15px" BorderColor="White" ForeColor="#1BA5E3" HorizontalAlign="Center" Width="200px" Font-Bold="True" />
        <HeaderStyle BackColor="#284E98" BorderColor="#EFF3FB" BorderStyle="Solid"
            BorderWidth="2px" Font-Bold="True" Font-Size="0.9em" ForeColor="White"
            HorizontalAlign="Center" />
        <StartNextButtonStyle BorderStyle="None" Font-Size="12px" ForeColor="#1BA5E3" Height="20px"
            Width="80px" />
        <NavigationStyle BackColor="White" />
        <FinishNavigationTemplate>
            <asp:Button ID="FinishPreviousButton" runat="server" BackColor="White" BorderColor="#1ba5e3"
                BorderStyle="Solid" BorderWidth="1px" CausesValidation="False" CommandName="MovePrevious"
                Font-Names="Verdana" Font-Size="12px" ForeColor="#284E98" Text="刷 新" Height="17px" Width="56px" />
            <asp:Button ID="FinishButton" runat="server" BackColor="White" BorderColor="#1ba5e3"
                BorderStyle="Solid" BorderWidth="1px" CommandName="MoveComplete" Font-Names="Verdana"
                Font-Size="0.8em" ForeColor="#284E98" Width="3px" />
        </FinishNavigationTemplate>
        <CancelButtonStyle ForeColor="#004000" />
    </asp:Wizard>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server"
        ConflictDetection="CompareAllValues"
        ConnectionString="<%$ ConnectionStrings:DB_CCXYRCConnectionString %>"
        DeleteCommand="DELETE FROM [tb_jobapply] WHERE [cwid] = @original_cwid"
        InsertCommand="INSERT INTO [tb_comwant] ([cpid], [trid], [cwname], [cwknowledge], [cwask], [cwdeal], [cwjobadd], [cwpersonnum], [cwtime], [jcid]) VALUES (@cpid, @trid, @cwname, @cwknowledge, @cwask, @cwdeal, @cwjobadd, @cwpersonnum,getdate(), @jcid)"
        OldValuesParameterFormatString="original_{0}"
        SelectCommand="SELECT tb_comwant.cwid, tb_comwant.cpid, tb_comwant.trid, tb_comwant.cwname, tb_comwant.cwknowledge, tb_comwant.cwask, tb_comwant.cwdeal, tb_comwant.cwjobadd, tb_comwant.cwpersonnum, tb_comwant.cwtime, tb_comwant.jcid, tb_jobclass.jcname, tb_trade.trname FROM tb_comwant INNER JOIN tb_jobclass ON tb_comwant.jcid = tb_jobclass.jcid INNER JOIN tb_trade ON tb_comwant.trid = tb_trade.trid WHERE (tb_comwant.cpid = @cpid)"
        UpdateCommand="UPDATE [tb_comwant] SET [cpid] = @cpid, [trid] = @trid, [cwname] = @cwname, [cwknowledge] = @cwknowledge, [cwask] = @cwask, [cwdeal] = @cwdeal, [cwjobadd] = @cwjobadd, [cwpersonnum] = @cwpersonnum, [cwtime] = getdate(), [jcid] = @jcid WHERE [cwid] = @original_cwid">
        <SelectParameters>
            <asp:SessionParameter Name="cpid" SessionField="com" Type="Int32" />
        </SelectParameters>
        <DeleteParameters>
            <asp:Parameter Name="original_cwid" Type="Int32" />
        </DeleteParameters>
        <UpdateParameters>
            <asp:SessionParameter Name="cpid" SessionField="com" Type="Int32" />
            <asp:Parameter Name="trid" Type="Int32" />
            <asp:Parameter Name="cwname" Type="String" />
            <asp:Parameter Name="cwknowledge" Type="String" />
            <asp:Parameter Name="cwask" Type="String" />
            <asp:Parameter Name="cwdeal" Type="String" />
            <asp:Parameter Name="cwjobadd" Type="String" />
            <asp:Parameter Name="cwpersonnum" Type="String" />
            <asp:Parameter Name="jcid" Type="Int32" />
            <asp:Parameter Name="original_cwid" Type="Int32" />
        </UpdateParameters>
        <InsertParameters>
            <asp:SessionParameter Name="cpid" SessionField="com" Type="Int32" />
            <asp:Parameter Name="trid" Type="Int32" />
            <asp:Parameter Name="cwname" Type="String" />
            <asp:Parameter Name="cwknowledge" Type="String" />
            <asp:Parameter Name="cwask" Type="String" />
            <asp:Parameter Name="cwdeal" Type="String" />
            <asp:Parameter Name="cwjobadd" Type="String" />
            <asp:Parameter Name="cwpersonnum" Type="String" />
            <asp:Parameter Name="jcid" Type="Int32" />
        </InsertParameters>
    </asp:SqlDataSource>
    <asp:Label ID="Label1" runat="server"></asp:Label>
</asp:Content>

